Ethernet based TDM switch

ABSTRACT

A method and apparatus for packetizing data framed as a TDM stream as an Ethernet packet. In an embodiment, the data is packetized into an Ethernet frame having a header which includes information which indicates an appropriate time at which to write the data into an outbound TDM stream.

FIELD OF THE INVENTION

[0001] This invention relates generally to switches, and more particularly to switching data framed as a Time Division Multiplexing stream over an Ethernet backplane.

BACKGROUND

[0002] Data communication in a computer network involves the exchange of data between two or more entities interconnected by communication links and subnetworks. These entities are typically software programs executing on hardware computer platforms, such as end stations and intermediate stations. The stations typically communicate by exchanging discrete packets or frames of data according to predefined protocols. In this context, a protocol consists of a set of rules defining how the stations interact with each other.

[0003] A switch is one example of an intermediate station which interconnects the communication links and subnetworks to enable transmission of data between the end stations. A switch functions as an interchange and provides path switching for data being transported over a network. Typically, a switch supports one network protocol (e.g. Ethernet), meaning that the switch manages data in a particular format. Data in an Ethernet format will include a header, which specifies the destination and source of the data being transported. A switch having an Ethernet backplane (i.e. configured to handle Ethernet data traffic) routes the data to a location specified in the Ethernet header. This works well if all of the data follows the protocol of the switch. However, problems arise if data is not presented in the proper format.

[0004] For example, some data is sent in a Time Division Multiplexing (“TDM”) stream, meaning that multiple data streams have been combined into one data stream. A TDM stream, by itself, is not compatible with an Ethernet switch, which transports Ethernet frames across the backplane. Ordinarily, separate TDM-compatible hardware is needed to transport TDM data streams. Thus, at least two system infrastructures would be needed.

SUMMARY

[0005] A method and apparatus for packetizing data framed as a TDM stream as an Ethernet packet are disclosed. In an embodiment, the data is packetized into an Ethernet frame having a header which includes information which indicates an appropriate time at which to write the data into an outbound TDM stream.

DESCRIPTION OF THE DRAWINGS

[0006] The features, aspects, and advantages of the present invention will become more fully apparent from the following Detailed Description and appended claims when taken in conjunction with the accompanying drawings in which:

[0007]FIG. 1 is a flow chart of a method of packetizing TDM data as an Ethernet packet.

[0008]FIG. 2 is a flow chart of a method of writing a TDM data stream into Ethernet frames.

[0009]FIG. 3 is a flow chart of another method of writing a TDM data stream into Ethernet frames.

[0010]FIG. 4 is a diagram of a switch capable of writing a TDM data stream into Ethernet frames.

DETAILED DESCRIPTION

[0011] The present invention overcomes the problems in the existing art described above by eliminating the need for multiple communication fabrics when switching TDM data traffic over an Ethernet-based system. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. The following description and accompanying drawings provide various examples for the purposes of illustration. However, these examples should not be construed in a limiting sense as they are merely intended to provide examples of the present invention rather than to provide an exhaustive list of all possible implementations of the present invention.

[0012] Turning now to FIG. 1, a method according to the present invention is shown. The method comprises a packetizing step 10, in which an inbound TDM data stream is framed as an Ethernet packet having a header which includes information which indicates an appropriate time at which to write the TDM data into an outbound TDM stream. Among other applications, this packetizing step 10 allows for switching data framed as a TDM stream over an Ethernet backplane and eliminates the need for separate communications fabrics (e.g. one fabric for TDM data traffic and one for Ethernet traffic). In an embodiment, the packetizing step 10 can include writing a TDM frame into a first field in the Ethernet frame (e.g. the payload field) and writing information which indicates an appropriate time to insert the data into an outbound TDM stream into a second field in the Ethernet frame (e.g. the destination field). Among others, the information which indicates an appropriate time to insert the data into an outbound TDM stream could be (1) the destination of the TDM data, or (2) information identifying which block of the TDM stream the data came from in order to reassemble the data correctly in an outgoing TDM stream, or (3) both the destination information and the identifying information.

[0013] In an embodiment not shown, the packetizing step 10 of FIG. 1 can include double buffering the TDM data. For example, the inbound TDM data stream is written to a first buffer. The inbound TDM data stream is then written to a second buffer while the TDM data previously stored in the first buffer is written into an Ethernet packet.

[0014] It is worth noting that the amount of TDM data included in each Ethernet frame can be varied. As the amount of TDM data per Ethernet frame increases, so does the latency associated with buffering, packetizing, transporting, extracting, and reassembling the TDM data. As the amount of TDM data per Ethernet frame decreases, so does the speed at which the TDM data can be transported and reassembled for the outbound TDM stream. Thus, the optimal amount of TDM data included in each Ethernet frame will vary.

[0015] Turning now to FIG. 2, an embodiment of the present invention is shown in which TDM data is handled by a switch with an Ethernet backplane. The method begins with accepting an incoming TDM stream 20 into the switch, and the TDM stream includes TDM data frames. The TDM data is written into an Ethernet frame 22 and sent to a destination of the TDM frame 24. Once the TDM frame reaches its destination, the TDM frame is extracted from the Ethernet frame 26 and included in an outgoing TDM stream 28.

[0016]FIG. 3 shows an embodiment similar to the embodiment shown in FIG. 2. In addition to steps 20, 22, 24, 26, and 28, the embodiment of FIG. 3 includes double buffering the TDM data 21 before writing the TDM data into the Ethernet frame 23 and double buffering the extracted TDM data 27 before including the TDM data in an outgoing TDM stream 28. Although double buffering is shown both before and after transport of the Ethernet frame, it is within the contemplation of the present invention to double buffer only once, either before or after sending the Ethernet frame.

[0017] As mentioned in reference to FIG. 1, an embodiment could also include writing destination information and identifying information pertaining to the TDM data into one field in the Ethernet frame and writing TDM data into another field in the Ethernet frame. Specifically, FIG. 3 shows writing the TDM data into the Ethernet frame 23, which includes writing TDM data into the payload field of the Ethernet frame, writing the TDM destination into the Ethernet destination field, and writing TDM block identification information in the lower bits of the destination field of the Ethernet frame. Although the TDM data is shown as being written to specific fields in the Ethernet frame, it is also contemplated that the TDM data may be written elsewhere or in a different arrangement.

[0018]FIG. 4 shows a switch 40 in accordance with the present invention. The switch 40 shown has certain components omitted so as not to obscure the invention. The switch 40 has a bus 42 which connects line card 44, line card 46, and a switch card 48. As a TDM data stream enters the switch 40 via one of the lines 50, the line card 44 to which the line 50 is attached has circuitry (not shown) to write the TDM data frames into Ethernet frames. The line card circuitry sends the Ethernet frames to a destination of the TDM frames. In one instance, the destination could be another line card 46 in the switch 40. In which case, the Ethernet frame would be sent over the bus 42, through switch card 48 and to the appropriate line card 46. However, the destination may be the same line card 44 which received the TDM stream. Thus, the bus 42 and switch card 48 would not be utilized in that instance.

[0019] Similar to FIGS. 1-3, the switch 40 could include buffers in the line cards 44-46 to double buffer incoming and/or outgoing TDM data streams. In addition, the line cards 44-46 could include circuitry to write destination information and identifying information pertaining to the TDM data into one field in the Ethernet frame and TDM data into another field in the Ethernet frame.

[0020] It is to be understood that even though numerous characteristics and advantages of various embodiments of the present invention have been set forth in the foregoing description, together with details of the structure and function of various embodiment of the invention, this disclosure is illustrative only. Changes may be made in detail, especially matters of structure and management of parts, without departing from the scope of the present invention as expressed by the broad general meaning of the terms of the appended claims. 

I claim:
 1. A method comprising: packetizing data framed as an inbound Time Division Multiplexing (TDM) stream as an Ethernet packet having a header which includes information which indicates an appropriate time at which to write the data into an outbound TDM stream.
 2. The method of claim 1 wherein packetizing includes: writing a TDM frame into a first field of an Ethernet frame; and writing information which indicates an appropriate time to insert the data into an outbound TDM stream into a second field of an Ethernet frame.
 3. The method of claim 1 wherein packetizing includes: writing the inbound TDM stream to a first buffer; and writing the inbound TDM stream to a second buffer while at least one TDM frame stored in the first buffer is written into the Ethernet packet.
 4. A method comprising: accepting a first TDM stream into a switch having an Ethernet backplane, the first TDM stream including a plurality of TDM frames; writing a TDM frame into an Ethernet frame; sending the Ethernet frame to a destination of the TDM frame; extracting the TDM frame from the Ethernet frame; and sending a second TDM stream, including the TDM frame, from the switch.
 5. The method of claim 4 wherein multiple TDM frames are written into the Ethernet frame and the TDM frames are extracted from the Ethernet frame after sending the Ethernet frame to the destination of the TDM frame.
 6. The method of claim 4 further comprising: writing the first TDM stream to a first buffer; and writing the first TDM stream to a second buffer while at least one TDM frame stored in the first buffer is written into the Ethernet frame.
 7. The method of claim 4 further comprising: writing at least one of the extracted TDM frames to a first buffer; and writing at least one of the extracted TDM frames to a second buffer while at least one of the extracted TDM frames stored in the first buffer is included in the second TDM stream.
 8. The method of claim 4 further comprising: writing information which identifies the TDM frame into the Ethernet frame; and writing information which signifies the destination of the TDM frame into the Ethernet frame.
 9. The method of claim 8 wherein the TDM frame is written into a first field in the Ethernet frame and the destination information and identifying information are written into a second field in the Ethernet frame.
 10. A switch with an Ethernet backplane, comprising: a bus; and at least one line card connected to the bus, each line card including: circuitry to write TDM frames from an incoming TDM stream into Ethernet frames, circuitry to send the Ethernet frames to a destination of the TDM frames; circuitry to extract the TDM frames from the Ethernet frames once the Ethernet frames arrive at the destination of the TDM frames; and circuitry to send an outgoing TDM stream including the extracted TDM frames.
 11. The switch of claim 10 wherein each line card further includes: a first buffer and a second buffer to double buffer the incoming and outgoing TDM data.
 12. The switch of claim 10 wherein each line card further includes: circuitry to write information which identifies the TDM frames into the Ethernet frames, and circuitry to write information which signifies the destination of the TDM frames into the Ethernet frames.
 13. The switch of claim 12 wherein each line card further includes: circuitry to write the TDM frames into a first field in the Ethernet frame, and circuitry to write the destination information and identifying information into a second field in the Ethernet frame. 